package club.banyuan;

public class PaperBook extends Book {

    private double weightG;

    public PaperBook() {
    }

    public PaperBook(String title, int price, int cost, int pages) {
        super(title, price, cost, pages);
    }

    public PaperBook(String title, int price, int cost, int pages, double weightG) {
        super(title, price, cost, pages);
        this.weightG = weightG;
    }

    public double getWeightG() {
        return weightG;
    }

    public void setWeightG(double weightG) {
        this.weightG = weightG;
    }
}
